﻿@model IEnumerable<Pyramid.Models.ConsumeItem>

<div class="pageContent">
	<table class="table" width="100%" layouth="32">
		<thead>
			<tr>
				<th>@Html.DisplayNameFor(m=>m.Id)</th>
				<th>@Html.DisplayNameFor(m=>m.Domain)</th>
				<th>@Html.DisplayNameFor(m=>m.Group)</th>
				<th>@Html.DisplayNameFor(m=>m.ItemName)</th>
				<th>@Html.DisplayNameFor(m=>m.MarketPrice)</th>
				<th>@Html.DisplayNameFor(m=>m.VipPrice)</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model)
			{
				<tr>
					<td>
						@item.Id
					</td>
					<td>
						@item.Domain
					</td>
					<td>
						@item.Group
					</td>
					<td>
						@item.ItemName
					</td>
					<td>
						@item.MarketPrice.ToString("C")
					</td>
					<td>
						@item.VipPrice.ToString("C")
					</td>
					<td>
						<a class="btnSelect" href="javascript:$.bringBack({ConsumeItemId:'@item.Id', ConsumeItemName:'@item.ItemName', ConsumeItemMarketPrice:'@item.MarketPrice.ToString("C")', ConsumeItemVipPrice:'@item.VipPrice.ToString("C")'})" title="选择">选择</a>
					</td>
				</tr>
			}
		</tbody>
	</table>
</div>
